#include "UpRightThirdTooth.h"

USING_NS_CC;

UpRightThirdTooth::UpRightThirdTooth(CCLayer* helloWorld){
	position = UP_LEFT_FOUR;
	toothSprite = CCSprite::create("yy_521_652.png");
	toothSprite->setPosition(ccp(521,652));
	toothSprite->setZOrder(4);
	helloWorld->addChild(toothSprite);
}

UpRightThirdTooth::~UpRightThirdTooth(void){
	toothSprite->autorelease();
}

bool UpRightThirdTooth::checkToolInWhichTooth(float x, float y){
	if(x>170 && x<187 && y > 150 && y<170){
		return true;
	}else{
		return false;
	}
}
